package com.ezops.model;

import java.io.Serializable;

/**
 * This is to indicate the validation failure.
 * 
 * @author vgaurav
 * 
 */
public interface FieldValidationError extends Serializable {

	/**
	 * Return the error message.
	 * 
	 * @return
	 */
	public String getErrorMessage();

	/**
	 * Return the field name for which the validation failed.
	 * 
	 * @return
	 */
	public String getFieldName();

	/**
	 * Return the value of the field.
	 * 
	 * @return
	 */
	public String getFieldValue();

}
